home *** CD-ROM | disk | FTP | other *** search
- {$M,30000,40000,60000}
- {$F+}
- Program Loader;
-
- Uses Crt,Dos,LibFile;
-
- Const
- CLine=' /f:44000 /d:GUS /port:$220 /irq:7 /V:127 ';
-
- Var Param:String;
- P:Char;
- Begin
- If ParamCount<>0 then Begin
- FicheroExe:='LOADER2.EXE';
- CommandLine:='';
- Param:=ParamStr(1);
- P:=Param[1];
- Case P of
- '1':ExecFile(LF_FindFile('borra.exe')^.offs);
- '2':ExecFile(LF_FindFile('report.exe')^.offs);
- '3':ExecFile(LF_FindFile('final.exe')^.offs);
- End;
- End
- Else Begin
- FicheroExe:='LOADER2.EXE';
- CommandLine:='tragical.mod'+CLine+'/sh:loader2.exe 1';
- ExecFile(LF_FindFile('demovt.exe')^.offs);
- FicheroExe:='LOADER2.EXE';
- CommandLine:='hyper3.s3m'+CLine+'/sh:loader2.exe 2';
- ExecFile(LF_FindFile('demovt.exe')^.offs);
- FicheroExe:='LOADER2.EXE';
- CommandLine:='rc_drops.mod'+CLine+'/sh:loader2.exe 3';
- ExecFile(LF_FindFile('demovt.exe')^.offs);
- End;
- End.
-